package connect4client.commands;

import messages.ListPluginsReplyMessage;

/**
 * The ListPluginsReply command.
 * 
 * This command will handle ListPluginsReply messages.
 */
public class ListPluginsReplyCommand extends Command {

	public ListPluginsReplyCommand(ListPluginsReplyMessage message){
		super(message);
	}
	
	@Override
	public void execute() {		
		ListPluginsReplyMessage message = (ListPluginsReplyMessage) this.message;
		guiMediator.listPluginsReply(message.getPlugins());
	}
}
